package com.atguigu.spzx.model.dto.system;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;
//描述实体类的注解
@Schema(name = "登录参数数据模型")
@Data
public class LoginDto {
//    @SchemaProperty(name="账号")
    @Schema(description = "账号", hidden = false ,
     example = "admin")
    private String userName;
    @Schema(description = "密码", hidden = false ,
            example = "123456")
    private String password;
    @Schema(description = "验证码", hidden = false ,
            example = "qazw")
    private String code;
    @Schema(description = "验证码的key", hidden = false ,
            example = "qweqweqwrwrq")
    private String codeKey;
}
